/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2018
 */

package com.hzyb.oldpack.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;

/**
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */


@Entity
@Table(name = "shop_carousel_service")
public class ShopCarouselService {
	
	

	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	@Length(max=50)
	private java.lang.String carouselServiceSid;
	@Length(max=50)
	private java.lang.String fileId;
	@Length(max=1)
	private java.lang.String isActivate;
	
	private java.lang.Integer order;
	
	private java.util.Date enterDate;
	@Length(max=50)
	private java.lang.String enterUserSid;
	@Length(max=50)
	private java.lang.String updateUserSid;
	@Length(max=50)
	private java.lang.String updateDate;
	@Length(max=300)
	private java.lang.String forwardPath;
	//columns END


	public ShopCarouselService(){
	}

	public ShopCarouselService(
		java.lang.String carouselServiceSid
	){
		this.carouselServiceSid = carouselServiceSid;
	}

	

	public void setCarouselServiceSid(java.lang.String value) {
		this.carouselServiceSid = value;
	}
	
	@Id
	@Column(name = "carousel_service_sid", unique = true, nullable = false, insertable = true, updatable = true, length = 50)
	public java.lang.String getCarouselServiceSid() {
		return this.carouselServiceSid;
	}
	
	@Column(name = "file_id", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getFileId() {
		return this.fileId;
	}
	
	public void setFileId(java.lang.String value) {
		this.fileId = value;
	}
	
	@Column(name = "is_activate", unique = false, nullable = true, insertable = true, updatable = true, length = 1)
	public java.lang.String getIsActivate() {
		return this.isActivate;
	}
	
	public void setIsActivate(java.lang.String value) {
		this.isActivate = value;
	}
	
	@Column(name = "order", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
	public java.lang.Integer getOrder() {
		return this.order;
	}
	
	public void setOrder(java.lang.Integer value) {
		this.order = value;
	}
	
	
	
	@Column(name = "enter_date", unique = false, nullable = true, insertable = true, updatable = true, length = 0)
	public java.util.Date getEnterDate() {
		return this.enterDate;
	}
	
	public void setEnterDate(java.util.Date value) {
		this.enterDate = value;
	}
	
	@Column(name = "enter_user_sid", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getEnterUserSid() {
		return this.enterUserSid;
	}
	
	public void setEnterUserSid(java.lang.String value) {
		this.enterUserSid = value;
	}
	
	@Column(name = "update_user_sid", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getUpdateUserSid() {
		return this.updateUserSid;
	}
	
	public void setUpdateUserSid(java.lang.String value) {
		this.updateUserSid = value;
	}
	
	@Column(name = "update_date", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getUpdateDate() {
		return this.updateDate;
	}
	
	public void setUpdateDate(java.lang.String value) {
		this.updateDate = value;
	}
	
	@Column(name = "forward_path", unique = false, nullable = true, insertable = true, updatable = true, length = 300)
	public java.lang.String getForwardPath() {
		return this.forwardPath;
	}
	
	public void setForwardPath(java.lang.String value) {
		this.forwardPath = value;
	}
}

